\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager}{\section{Political\-Classifier.\-Framework.\-Candidate\-Manager Class Reference}
\label{class_political_classifier_1_1_framework_1_1_candidate_manager}\index{Political\-Classifier.\-Framework.\-Candidate\-Manager@{Political\-Classifier.\-Framework.\-Candidate\-Manager}}
}


\hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager}{Candidate\-Manager} class responsible to manage candidates in a single application instance.  


Inheritance diagram for Political\-Classifier.\-Framework.\-Candidate\-Manager\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_political_classifier_1_1_framework_1_1_candidate_manager}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_a6115596a3de79ef7abbbc8249f339864}{Candidate\-Manager} ()
\begin{DoxyCompactList}\small\item\em Construct a candidate manager object. \end{DoxyCompactList}\item 
int \hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_ad7e196ffac86ad87b7e49d0109b5a8b7}{Add\-Candidate} (\hyperlink{interface_political_classifier_1_1_support_1_1_i_candidate}{I\-Candidate} candidate)
\begin{DoxyCompactList}\small\item\em Add a new candidate in a manager. \end{DoxyCompactList}\item 
void \hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_a0cebb36d6ea717328914ca7f66d7a59b}{Remove\-Candidate} (int index)
\begin{DoxyCompactList}\small\item\em Remove a candidate from the manager \end{DoxyCompactList}\item 
I\-Enumerator$<$ \hyperlink{interface_political_classifier_1_1_support_1_1_i_candidate}{I\-Candidate} $>$ \hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_a0d704db1807dd396aaef99a8a2a33fb8}{Get\-Enumerator} ()
\begin{DoxyCompactList}\small\item\em Gets a strongly-\/typed enumerator over the candidates. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_af580b76a376b0ee0d49a7ac73ede5fa3}{Count}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Returns the number of candidates in a manager \end{DoxyCompactList}\item 
\hyperlink{interface_political_classifier_1_1_support_1_1_i_candidate}{I\-Candidate} \hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager_a7100d3ad2e8002aa1c8e6f0dd8eeab30}{this\mbox{[}int index\mbox{]}}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Gets the candidate at the given index. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_political_classifier_1_1_framework_1_1_candidate_manager}{Candidate\-Manager} class responsible to manage candidates in a single application instance. 



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_a6115596a3de79ef7abbbc8249f339864}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!Candidate\-Manager@{Candidate\-Manager}}
\index{Candidate\-Manager@{Candidate\-Manager}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{Candidate\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}Political\-Classifier.\-Framework.\-Candidate\-Manager.\-Candidate\-Manager (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_a6115596a3de79ef7abbbc8249f339864}


Construct a candidate manager object. 



\subsection{Member Function Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_ad7e196ffac86ad87b7e49d0109b5a8b7}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!Add\-Candidate@{Add\-Candidate}}
\index{Add\-Candidate@{Add\-Candidate}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{Add\-Candidate}]{\setlength{\rightskip}{0pt plus 5cm}int Political\-Classifier.\-Framework.\-Candidate\-Manager.\-Add\-Candidate (
\begin{DoxyParamCaption}
\item[{{\bf I\-Candidate}}]{candidate}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_ad7e196ffac86ad87b7e49d0109b5a8b7}


Add a new candidate in a manager. 


\begin{DoxyParams}{Parameters}
{\em candidate} & I\-Candidate object\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
zero based index location of the added candidate.
\end{DoxyReturn}


Implements \hyperlink{interface_political_classifier_1_1_support_1_1_i_candidate_manager_a8f065e3cbcbc1cbf0c56aac4940d6d10}{Political\-Classifier.\-Support.\-I\-Candidate\-Manager}.

\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_a0d704db1807dd396aaef99a8a2a33fb8}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!Get\-Enumerator@{Get\-Enumerator}}
\index{Get\-Enumerator@{Get\-Enumerator}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{Get\-Enumerator}]{\setlength{\rightskip}{0pt plus 5cm}I\-Enumerator$<${\bf I\-Candidate}$>$ Political\-Classifier.\-Framework.\-Candidate\-Manager.\-Get\-Enumerator (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_a0d704db1807dd396aaef99a8a2a33fb8}


Gets a strongly-\/typed enumerator over the candidates. 

\begin{DoxyReturn}{Returns}
The strongly-\/typed enumerator.
\end{DoxyReturn}
\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_a0cebb36d6ea717328914ca7f66d7a59b}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!Remove\-Candidate@{Remove\-Candidate}}
\index{Remove\-Candidate@{Remove\-Candidate}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{Remove\-Candidate}]{\setlength{\rightskip}{0pt plus 5cm}void Political\-Classifier.\-Framework.\-Candidate\-Manager.\-Remove\-Candidate (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_a0cebb36d6ea717328914ca7f66d7a59b}


Remove a candidate from the manager 


\begin{DoxyParams}{Parameters}
{\em index} & zero based index location of the candiate.\\
\hline
\end{DoxyParams}


Implements \hyperlink{interface_political_classifier_1_1_support_1_1_i_candidate_manager_aade81453acd2cb8fd76e13b9eb17148f}{Political\-Classifier.\-Support.\-I\-Candidate\-Manager}.



\subsection{Property Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_af580b76a376b0ee0d49a7ac73ede5fa3}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!Count@{Count}}
\index{Count@{Count}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{Count}]{\setlength{\rightskip}{0pt plus 5cm}int Political\-Classifier.\-Framework.\-Candidate\-Manager.\-Count\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_af580b76a376b0ee0d49a7ac73ede5fa3}


Returns the number of candidates in a manager 

\hypertarget{class_political_classifier_1_1_framework_1_1_candidate_manager_a7100d3ad2e8002aa1c8e6f0dd8eeab30}{\index{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}!this\mbox{[}int index\mbox{]}@{this[int index]}}
\index{this\mbox{[}int index\mbox{]}@{this[int index]}!PoliticalClassifier::Framework::CandidateManager@{Political\-Classifier\-::\-Framework\-::\-Candidate\-Manager}}
\subsubsection[{this[int index]}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-Candidate} Political\-Classifier.\-Framework.\-Candidate\-Manager.\-this\mbox{[}int index\mbox{]}\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_candidate_manager_a7100d3ad2e8002aa1c8e6f0dd8eeab30}


Gets the candidate at the given index. 


\begin{DoxyParams}{Parameters}
{\em index} & The index to get the candidate at.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The candidate.
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Jonathan.\-De\-Carlo/\-Source/\-Repos/\-Political\-Classifier/src/\-Political\-Classifier.\-Framework/Candidate\-Manager.\-cs\end{DoxyCompactItemize}
